<extend name="./Application/Home/View/Layouts/application.html"/>

<block name="content">
    <div class="bloglist">
        <h2>
            <p><span>推荐</span>文章</p>
        </h2>
        <volist name="articles" id="article">
            <div class="blogs">
                <h3><a href="/">{{$article.title}}</a></h3>
                <figure><img src="{{$article.thumb}}"></figure>
                <ul>
                    {{$article.content}}
                    <a href="{{:U('show',array('id'=>$article['id']))}}" target="_blank" class="readmore">阅读全文&gt;&gt;</a>
                </ul>
                <p class="autor"><span>作者：{{$article.author}}</span><span>分类：【<a href="/">{{$article.category.name}}</a>】</span><span>浏览（<a
                        href="/">{{$article.view}}</a>）</span><span>评论（<a href="/">{{$article.comment_num}}</a>）</span></p>
                <div class="dateview">{{$article.time|date='Y-m-d',###}}</div>
            </div>
        </volist>
    </div>
</block>